/*****************************************************************************
 * vlc_connect.h : GTK+ plugin for vlc
 *****************************************************************************/

#include <vlc/vlc.h>

#define VLC_PLAYLIST    (vlc_connect_get_playlist_pointer())
#define VLC_INTF_THREAD (vlc_connect_get_intf_thread_pointer())
#define VLC_INTF_SYS    (vlc_connect_get_intf_sys_pointer())

void vlc_connect_init (intf_thread_t *p_intf);

intf_thread_t* vlc_connect_get_intf_thread_pointer (void);
intf_sys_t*    vlc_connect_get_intf_sys_pointer (void);
playlist_t*    vlc_connect_get_playlist_pointer (void);

void play (void);
void pause (void);
void stop (void);
void previous (void);
void next (void);
void fullscreen (void);
void quit (void);
void show_open_file (void);
void show_open_disc (void);
void show_open_network (void);
void show_open_capture_device (void);
void show_seek_time (void);
void show_video_menu (void);
void show_help (void);
void show_about (void);

int is_playing (void);
int is_file_in_playlist (void);

enum {

  ACTION_PLAY,
  ACTION_PAUSE,
  ACTION_STOP,
  ACTION_PREVIOUS,
  ACTION_NEXT,
  ACTION_FULLSCREEN,
  ACTION_QUIT,
  ACTION_OPEN_FILE,
  ACTION_OPEN_DISC,
  ACTION_OPEN_NETWORK,
  ACTION_OPEN_CAPTURE_DEVICE,
  ACTION_SEEK_TIME,
  ACTION_SHOW_HELP,
  ACTION_SHOW_ABOUT,
  ACTION_SHOW_VIDEO_MENU

};
